home *** CD-ROM | disk | FTP | other *** search
/ 3D Game Programming All in One / 3D Game Programming All in One Disc.iso / 3D2E / demo / server / defaults.cs next >
Text File  |  2005-11-23  |  2KB  |  45 lines

  1. //-----------------------------------------------------------------------------
  2. // Torque Game Engine 
  3. // Copyright (C) GarageGames.com, Inc.
  4. //-----------------------------------------------------------------------------
  5.  
  6. // List of master servers to query, each one is tried in order
  7. // until one responds
  8. $Pref::Server::RegionMask = 2;
  9. $pref::Master[0] = "2:master.garagegames.com:28002";
  10.  
  11. // Information about the server
  12. $Pref::Server::Name = "Torque Demo Server";
  13. $Pref::Server::Info = "This is a Torque Demo server.";
  14.  
  15. // The connection error message is transmitted to the client immediatly
  16. // on connection, if any further error occures during the connection
  17. // process, such as network traffic mismatch, or missing files, this error
  18. // message is display. This message should be replaced with information
  19. // usefull to the client, such as the url or ftp address of where the
  20. // latest version of the game can be obtained.
  21. $Pref::Server::ConnectionError =
  22.    "You do not have the correct version of Torque demo or "@
  23.    "the resources needed to play on this server, please contact "@
  24.    "the server operator or visit the <a:www.garagegames.com/mg/projects/torque1>Torque</a> "@
  25.    "project web site for more information.";
  26.  
  27. // The network port is also defined by the client, this value 
  28. // overrides pref::net::port for dedicated servers
  29. $Pref::Server::Port = 28000;
  30.  
  31. // If the password is set, clients must provide it in order
  32. // to connect to the server
  33. $Pref::Server::Password = "";
  34.  
  35. // Password for admin clients
  36. $Pref::Server::AdminPassword = "";
  37.  
  38. // Misc server settings.
  39. $Pref::Server::MaxPlayers = 64;
  40. $Pref::Server::TimeLimit = 20;               // In minutes
  41. $Pref::Server::KickBanTime = 300;            // specified in seconds
  42. $Pref::Server::BanTime = 1800;               // specified in seconds
  43. $Pref::Server::FloodProtectionEnabled = 1;
  44. $Pref::Server::MaxChatLen = 120;
  45.